package com.example.crawler.youtube.model.third;

import java.io.Serializable;

public class YoutbVideo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1980338587363972931L;

	private Integer itag;

	private String url;

	private boolean success;
	/**
	 * 视频解析源名称
	 */
	private String parseSource;
	/**
	 * 视频不能下载时的状态描述
	 */
	private String  playabilityStatus;

	public YoutbVideo() {

	}

	public YoutbVideo(Integer itag, String url) {
		this.success = true;
		this.itag = itag;
		this.url = url;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public Integer getItag() {
		return itag;
	}

	public void setItag(Integer itag) {
		this.itag = itag;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getPlayabilityStatus() {
		return playabilityStatus;
	}

	public void setPlayabilityStatus(String playabilityStatus) {
		this.playabilityStatus = playabilityStatus;
	}

	public String getParseSource() {
		return parseSource;
	}

	public void setParseSource(String parseSource) {
		this.parseSource = parseSource;
	}
}
